package cn.doitedu.marketing.engine.gauges;

import org.apache.flink.metrics.Gauge;

/***
 * @author hunter.d
 * @qq 657270652
 * @wx haitao-duan
 * @date 2021/7/26
 **/
public class CountGauge implements Gauge<Long> {
    long count = 0;
    @Override
    public Long getValue() {
        return count;
    }
    public void inc(){
        this.count ++;
    }

}
